package querydatabaseselection.pair;

import distributedRE.model.DataBase;
import distributedRE.model.Query;

public class QueryDatabasePair {

	private Query q;
	private DataBase db;
	private Comparable score;

	public QueryDatabasePair(Query q, DataBase db, Comparable score){
		this.q = q;
		this.db = db;
		this.score = score;
	}
	
	public DataBase getDatabase() {
		return db;
	}

	public Query getQuery() {
		return q;
	}

	public Comparable getScore(){
		return score;
	}
	
}
